package com.fang.six.srv.factory;

import com.fang.six.srv.Output;

public class Computer {

    private Output output;

    public Computer() {
    }

    public void keyIn(String msg) {
        output.getData(msg);
    }

    public Computer(Output output) {

        this.output = output;
    }

    public void print() {
        output.out();
    }
}
